package servlet;

import server.Request;
import server.Response;

/**
 * Servlet接口 定义Servlet规范
 */
public interface Servlet {

    void init() throws Exception;

    void destroy() throws Exception;

    void service(Request request, Response response) throws Exception;
}
